package com.wclass.service;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.wclass.entity.CouresOrder;
import com.baomidou.mybatisplus.service.IService;
import com.wclass.entity.CourseInfo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 课程订单 服务类
 * </p>
 *
 * @author 张浩高
 * @since 2018-12-21
 */
public interface ICouresOrderService extends IService<CouresOrder> {

    Page<Map<String, Object>> selectCourseSettleCountList(Page<Map<String, Object>> page, EntityWrapper<CouresOrder> ew);

    Page<Long> selectTeaStudentList(Page<Long> page, Long userId);

    Page<Long> selectHasProcessList(Page<Long> page, Long userId);

    void updateStudentNum(CourseInfo courseInfo, CouresOrder couresOrder, Long userId, Integer type);

}
